042a5d02d9e12eca77bec39acf4496cbc1be716d,src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java,AllocationService,applyFailedShard,#RoutingAllocation#ShardRouting#,375
Before Change
shardRouting.deassignNode();
// make sure we ignore this shard on the relevant node
allocation.addIgnoreShardForNode(failedShard.shardId(), failedShard.currentNodeId());
break;
}
After Change
it.remove();
shardRouting.deassignNode();
if (addToIgnoreList) {
// make sure we ignore this shard on the relevant node
allocation.addIgnoreShardForNode(failedShard.shardId(), failedShard.currentNodeId());
}
break;